<html>
<body>
	<script type="text/javascript" src="/js/jquery.zclip.min.js"></script>

	<div id="d_clip_button">Copy To Clipboard</div>

	<script language="JavaScript">
		var clip = new ZeroClipboard.Client(), myTextToCopy = "Hi, this is the text to copy!";
		clip.glue('d_clip_button');
		clip.addEventListener('onMouseOver', clipboardEvent);
		function clipboardEvent() {
			clip.setText(myTextToCopy);
		}
	</script>
</body>
</html>